@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  font-family: "Nunito", sans-serif;
}

body {
  font-family: "Nunito", sans-serif;
}

.radix-themes {
  --default-font-family: "Nunito", sans-serif;
  .rt-SwitchButton {
    background-color: #b1b1b1;
  }
}

@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

.border-anim {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  font-weight: bold;
  border-radius: 30px;
  overflow: hidden;
  &::before {
    content: "";
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: #000;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(#d6dbe2, #d6dbe2),
      linear-gradient(#6298cd, #6298cd), linear-gradient(#6298cd, #6298cd),
      linear-gradient(#d6dbe2, #d6dbe2), linear-gradient(#6298cd, #6298cd);
    animation: rotate 4s linear infinite;
    border-radius: 30px;
    overflow: hidden;
  }

  &::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 3px;
    top: 3px;
    right: 3px;
    bottom: 3px;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
  }
}

.video-container {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 30px;
}
